# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=apk-cron
pkgver=1.0
pkgrel=3
pkgdesc="Periodic software updates"
url="https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/apk-cron"
arch="noarch"
license="GPL-2.0-only"
depends="apk-tools"
source="apk"
options="!check" # no test suite

build() {
	return
}

package() {
	install -D -m 755 "$srcdir/apk" -t "$pkgdir"/etc/periodic/daily/
}

sha512sums="0d43c69b457f7c707aab91c7cbc00c9b6c61c78bcdb6c49a36f70b39c27da974d4906c86bbd8ae032ba80d7e1eb7d2dd9a2d57c9d89b2ea6cdbd4137856012f8  apk"
